<template>
	<view class="development-container">
		<view class="development-content">
			
			
			<view class="text-section">
				<text class="main-title">功能开发中</text>
				<text class="sub-title">精彩即将呈现，敬请期待</text>
				<text class="description">我们正在努力开发这个功能，很快就会与大家见面</text>
			</view>
			
			
			<button class="back-btn" @tap="goBack">
				<text class="btn-text">返回首页</text>
			</button>
		</view>
		
		<view class="decoration">
			<view class="dot dot-1"></view>
			<view class="dot dot-2"></view>
			<view class="dot dot-3"></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goBack() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.development-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	overflow: hidden;
}

.development-content {
	text-align: center;
	padding: 60rpx;
	z-index: 10;
}

.icon-wrapper {
	margin-bottom: 60rpx;
}

.construction-icon {
	position: relative;
	width: 200rpx;
	height: 200rpx;
	margin: 0 auto;
}

.gear {
	position: absolute;
	font-size: 60rpx;
	animation: rotate 3s linear infinite;
}

.gear-1 {
	top: 20rpx;
	left: 40rpx;
	animation-duration: 2s;
}

.gear-2 {
	top: 60rpx;
	right: 40rpx;
	font-size: 48rpx;
	animation-duration: 3s;
	animation-direction: reverse;
}

.hammer {
	position: absolute;
	font-size: 80rpx;
	top: 80rpx;
	left: 50%;
	transform: translateX(-50%);
	animation: hammer 1.5s ease-in-out infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes hammer {
	0%, 100% {
		transform: translateX(-50%) rotate(-15deg);
	}
	50% {
		transform: translateX(-50%) rotate(15deg);
	}
}

.text-section {
	margin-bottom: 60rpx;
}

.main-title {
	display: block;
	font-size: 48rpx;
	font-weight: bold;
	color: #fff;
	margin-bottom: 20rpx;
	letter-spacing: 2rpx;
}

.sub-title {
	display: block;
	font-size: 32rpx;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 20rpx;
}

.description {
	display: block;
	font-size: 28rpx;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.5;
	max-width: 500rpx;
	margin: 0 auto;
}

.progress-section {
	margin-bottom: 60rpx;
}

.progress-bar {
	width: 400rpx;
	height: 12rpx;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6rpx;
	margin: 0 auto 20rpx;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
	border-radius: 6rpx;
	width: 85%;
	animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.progress-text {
	font-size: 24rpx;
	color: rgba(255, 255, 255, 0.8);
}

.back-btn {
	background: rgba(255, 255, 255, 0.2);
	border: 2rpx solid rgba(255, 255, 255, 0.3);
	border-radius: 50rpx;
	padding: 20rpx 60rpx;
	backdrop-filter: blur(10rpx);
	transition: all 0.3s ease;
}

.back-btn:active {
	transform: scale(0.95);
	background: rgba(255, 255, 255, 0.3);
}

.btn-text {
	color: #fff;
	font-size: 28rpx;
	font-weight: 500;
}

.decoration {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

.dot {
	position: absolute;
	width: 8rpx;
	height: 8rpx;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	animation: float 6s ease-in-out infinite;
}

.dot-1 {
	top: 20%;
	left: 10%;
	animation-delay: 0s;
}

.dot-2 {
	top: 60%;
	right: 15%;
	animation-delay: 2s;
}

.dot-3 {
	bottom: 30%;
	left: 20%;
	animation-delay: 4s;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0rpx) scale(1);
		opacity: 0.3;
	}
	50% {
		transform: translateY(-40rpx) scale(1.2);
		opacity: 0.8;
	}
}
</style>
